scalar and vector